FROM php:7.4.27-fpm
RUN sed -i s@deb.debian.org@mirrors.tuna.tsinghua.edu.cn@g /etc/apt/sources.list
RUN sed -i s@security.debian.org@mirrors.tuna.tsinghua.edu.cn@g /etc/apt/sources.list
RUN docker-php-ext-install pdo pdo_mysql bcmath && pecl install redis && docker-php-ext-enable redis && apt-get update && apt-get install libzip-dev libpng-dev -y && docker-php-ext-install zip gd
